encoding/json.encodeState.ptrSeen (field)
12 uses
encoding/json (current package)
encode.go#L260: ptrSeen map[any]struct{}
encode.go#L271: if len(e.ptrSeen) > 0 {
encode.go#L277: return &encodeState{ptrSeen: make(map[any]struct{})}
encode.go#L733: if _, ok := e.ptrSeen[ptr]; ok {
encode.go#L736: e.ptrSeen[ptr] = struct{}{}
encode.go#L737: defer delete(e.ptrSeen, ptr)
encode.go#L816: if _, ok := e.ptrSeen[ptr]; ok {
encode.go#L819: e.ptrSeen[ptr] = struct{}{}
encode.go#L820: defer delete(e.ptrSeen, ptr)
encode.go#L872: if _, ok := e.ptrSeen[ptr]; ok {
encode.go#L875: e.ptrSeen[ptr] = struct{}{}
encode.go#L876: defer delete(e.ptrSeen, ptr)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |